package de.traveltainment.concept.envers.entities;

/**
 * Created by borlis on 13.06.2014.
 */
public enum ChangeType {

    I(1, "Insert"),
    U(2, "Update"),
    D(3, "Delete");

    private final int id;
    private final String type;

    ChangeType(int id, String type) {
        this.id = id;
        this.type = type;
    }

    public long id() {
        return id;
    }

    public String type() {
        return type;
    }
}
